export const defaultOptions = {
    method: 'get',
    striped: true,
    cache: false,
    pagination: true,
    sortable: true,
    sortOrder: "asc",
    sidePagination: "server",
    pageNumber: 1,
    pageSize: 15,
    pageList: [10, 25, 50, 100],
    search: true,
    strictSearch: false,
    showColumns: true,
    showRefresh: true,
    minimumCountColumns: 2,
    clickToSelect: true,
    uniqueId: "id",
    showToggle: true,
    cardView: false,
    detailView: true,
    smartDisplay: false,
    escape: true
  }

  export const defaultLocale = {
    formatLoadingMessage: function() {
      return '正在加载中，请稍后...'
    },
    formatRecordsPerPage: function(pageNumber) {
      return '每页显示 ' + pageNumber + ' 条记录'
    },
    formatShowingRows: function(pageFrom, pageTo, totalRows) {
      return '显示第 ' + pageFrom + ' 到第 ' + pageTo + ' 条记录，总共 ' + totalRows + ' 条记录'
    }
  }
